home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
DEM
/
N-R
/
Photone Prepress 2.04.cpt
/
Photone Prepress™v.2.04D.rsrc
/
PSTx_9_CompInkTest
< prev
next >
Wrap
Text File
|
1993-03-18
|
4KB
|
249 lines
%© 1990 by CEP, Inc. All Rights Reserved.
%Print ink calibration test patches as composite
/ppSetCScreen
{
/cSpot exch def
/cAngle exch def
/cFreq exch def
} def
/ppSetMScreen
{
/mSpot exch def
/mAngle exch def
/mFreq exch def
} def
/ppSetYScreen
{
/ySpot exch def
/yAngle exch def
/yFreq exch def
} def
/ppSetKScreen
{ /kSpot exch def
/kAngle exch def
/kFreq exch def
} def
/doSolid
{
/ppBlk exch def
/ppYVal exch def
/ppMVal exch def
/ppCVal exch def
gsave
ppBlk 72 mul 50 add 680 translate
ppCVal ppMVal ppYVal 0 setcmykcolor
newpath
0 0 moveto
0 60 lineto
60 60 lineto
60 0 lineto
closepath
fill
grestore
} def
/doDivider
{
gsave
50 670 translate
.24 setlinewidth
0 setgray
newpath
0 0 moveto
496 0 lineto
closepath
stroke
grestore
} def
/doSquare
{
/ppYVal exch def
/ppMVal exch def
/ppCVal exch def
-1 add /wid exch def
gsave
ppCVal ppMVal ppYVal 0 setcmykcolor
newpath
0 0 moveto
0 wid lineto
wid wid lineto
wid 0 lineto
closepath
fill
grestore
} bind def
/labelSquare
{
/ppLgr exch def
/ppVal ppLgr round cvi def
gsave
0 0 moveto
ppVal ( ) cvs show
grestore
} bind def
/labelCyan
{
/ppGVal exch def
/ppVVal exch def
/ppHVal exch def
/ppCg ppGVal 100 mul def
gsave
/Courier-Bold findfont
12 scalefont setfont
ppHVal ppVVal 20 add ppSVal add translate
0 0 moveto
1 0 0 0 setcmykcolor
ppCg round cvi ( ) cvs show
(% Cyan) show
grestore
} bind def
/labelMagenta
%increment right
{
/ppIncr exch def
/ppGVal exch def
/ppCnt exch def
/ppVVal exch def
/ppHVal exch def
/ppSVal 24 def
/ppMg ppGVal 100 mul def
/mIncr ppIncr 100 mul def
/ppIndex ppCnt def
gsave
/Courier-Bold findfont
9 scalefont setfont
0 1 0 0 setcmykcolor
ppHVal 3 add ppVVal 4 ppSVal add add translate
0 0 moveto
0 1 ppIndex 1 sub
{ pop
ppMg labelSquare
/ppMg ppMg mIncr sub def
ppSVal 0 translate
} for
grestore
} def
/labelYellow
{
/ppIncr exch def
/ppGVal exch def
/ppCnt exch def
/ppVVal exch def
/ppHVal exch def
/ppSVal 24 def
/ppYg ppGVal 100 mul def
/yIncr ppIncr 100 mul def
/ppIndex ppCnt def
gsave
/Courier-Bold findfont
9 scalefont setfont
0 0 1 0 setcmykcolor
ppHVal 16 sub ppVVal 8 add translate
0 0 moveto
0 1 ppIndex 1 sub
{ pop
ppYg labelSquare
0 ppSVal neg translate
/ppYg ppYg yIncr sub def
} for
grestore
} def
/labelBlock
{
/ppIncr exch def
/ppGVal exch def
/ppCnt exch def
/ppVVal exch def
/ppHVal exch def
gsave
ppHVal ppVVal ppGVal labelCyan
ppHVal ppVVal ppCnt ppGVal ppIncr labelMagenta
ppHVal ppVVal ppCnt ppGVal ppIncr labelYellow
grestore
} def
/doGrayBalance
{ /ppIncr exch def
/ppGVal exch def
/blockCount exch def
/ppVVal exch def
/ppHVal exch def
/ppSVal 24 def
/ppCVal ppGVal def
/ppMVal ppGVal def
/ppYVal ppGVal def
/hIndex blockCount def
/vIndex blockCount def
gsave
cFreq cAngle {cSpot}
mFreq mAngle {mSpot}
yFreq yAngle {ySpot}
kFreq kAngle {kSpot}
setcolorscreen
ppHVal ppVVal translate
0 1 vIndex 1 sub
{ pop
gsave
/ppMVal ppGVal def
0 1 hIndex 1 sub
{ pop
ppSVal ppCVal ppMVal ppYVal doSquare
ppSVal 0 translate
/ppMVal ppMVal ppIncr sub def
} for
grestore
/ppYVal ppYVal ppIncr sub def
0 ppSVal neg translate
} for
grestore
ppHVal ppVVal blockCount ppGVal ppIncr labelBlock
} bind def
/ppDoTest
{
200 600 4 .05 .01 doGrayBalance
325 600 6 .15 .01 doGrayBalance
105 420 8 .25 .01 doGrayBalance
325 420 8 .50 .02 doGrayBalance
70 190 6 .75 .03 doGrayBalance
240 190 6 .85 .03 doGrayBalance
410 190 6 .95 .03 doGrayBalance
1 0 0 0 doSolid %cyan
1 1 0 1 doSolid %blue
0 1 0 2 doSolid %magenta
0 1 1 3 doSolid %red
0 0 1 4 doSolid %yellow
1 0 1 5 doSolid %green
1 1 1 6 doSolid %3 color
doDivider
} def